package com.ruoyi.mushcoin.common;

import java.util.HashMap;
import java.util.Map;

/**
 * @author billy
 * @Description
 * @create 2024-04-26 10:50
 */
public class WalletCommon {
    public static Double TON_USDT_PRICE = 0D;



    /** 订单状态：交易失败 **/
    public static final Integer ORDER_STATUS_FAIL = -1;
    /** 订单状态：新建 **/
    public static final Integer ORDER_STATUS_0_NEW = 0;

    /** 订单状态：已领取（交易成功） **/
    public static final Integer ORDER_STATUS_1_OK = 1;

    /** 订单状态：处理中（交易链待确认） **/
    public static final Integer ORDER_STATUS_2_IN_PROCESS = 2;
    /** 订单状态：待领取 **/
    public static final Integer ORDER_STATUS_3_WAITING_BE_CLAIMED = 3;


    /** 商品类型：充值VIP **/
    public static final Integer GOODS_TYPE_1_VIP = 1;

    /** 商品类型：游戏道具currency **/
    public static final Integer GOODS_TYPE_2_CURRENCY = 2;

    /** 支付类型：1(ton支付) **/
    public static final Integer ORDER_TRANS_TYPE_1_TON = 1;
    /** 支付类型：2(usdt支付)  **/
    public static final Integer ORDER_TRANS_TYPE_2_USDT = 2;
    /** 支付类型：3(star支付) **/
    public static final Integer ORDER_TRANS_TYPE_3_STAR = 3;

    public static Map<Integer,String> ORDER_TRANS_TYPE_MAP = new HashMap<>();
    static {
        ORDER_TRANS_TYPE_MAP.put(1,"TON");
        ORDER_TRANS_TYPE_MAP.put(2,"USDT");
        ORDER_TRANS_TYPE_MAP.put(3,"STAR");
    }


}
